# resources.py
from import_export import resources
from . import models
import logging


logger = logging.getLogger(__name__)


class ToDoTagsResource(resources.ModelResource):
    class Meta:
        model = models.ToDoTags
        exclude = ('id', 'updated_at', 'updated_by',
                   'created_at', 'created_by')


class ToDoResource(resources.ModelResource):
    class Meta:
        model = models.TodoList
        exclude = ('id', 'updated_at', 'updated_by',
                   'created_at', 'created_by')
